/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Engine2D.level.tile;

import Engine2D.graphics.GLSpriteSheet;

/**
 *
 * @author gary.morris
 */
public class TileManager {
    /**
     * 
     */
    public static Tile[] tiles = new Tile[256];
    
    /**
     * 
     */
    public static Tile bedRock = new BedRockTile(0, GLSpriteSheet.getInstance(), 32, 32);
    /**
     * 
     */
    public static Tile rock = new RockTile(1, GLSpriteSheet.getInstance(), 32, 32);
    /**
     * 
     */
    public static Tile water = new WaterTile(2, GLSpriteSheet.getInstance(), 32, 32);
    /**
     * 
     */
    public static Tile grass = new GrassTile(3, GLSpriteSheet.getInstance(), 32, 32);
    /**
     * 
     */
    public static Tile dirt = new DirtTile(4, GLSpriteSheet.getInstance(), 32, 32);
    /**
     * 
     */
    public static Tile brick = new BrickTile(5, GLSpriteSheet.getInstance(), 32, 32);
    /**
     * 
     */
    public static Tile sand = new SandTile(6, GLSpriteSheet.getInstance(), 32, 32);
    /**
     * 
     */
    public static Tile ore = new OreTile(7, GLSpriteSheet.getInstance(), 32, 32);
    /**
     * 
     */
    public static Tile tunnel = new TunnelTile(8, GLSpriteSheet.getInstance(), 32, 32);
    
    static void addTile(Tile tile, int id) {
        tiles[id] = tile;
    }

    

    
    
}
